/*
 * Project: D-Link TR-069
 * 
 * File:   data.h
 * 
 * Authors: Taron Sargsyan <taronhsargsyan@gmail.com>		
 * 	    Suren Gharagyozyan	
 *
 * Created on September 20, 2011, 11:53 AM
 * 
 * 
 * This object is useful to make socket e.g.
 * Make socket and create connection with tr069 client
 * 
 * Copyright (C) 2011 D-Link Company.  All rights reserved.
 */

#ifndef _SOCKET_H_
#define _SOCKET_H_

int i,findString,sendFile;
fd_set active_fd_set, read_fd_set;

struct sockaddr_in clientname;
size_t size;

int make_socket ( unsigned int port );
void connection( int sock );

int child,newfd1,newfd2;

struct timeval timeout;


#endif

